export namespace="devops"
export app_name="harbor"
export repo="harbor"
export helm="$repo/$app_name"
export url="https://helm.goharbor.io"

# helm repo remove $repo
helm repo add $repo $url
helm repo update $repo


helm upgrade --create-namespace --install \
    -n $namespace $app_name $helm \
    -f values.yaml


# helm fetch harbor/harbor --untar
#登录 admin/Harbor12345

# kubectl apply -f ./harbor/ingress-harbor.yaml
